﻿using System.Collections.Generic;

namespace ProjectManageSystemApi.Models
{
    public class ProjectItemInfoDto
    {
		public int Id { get; set; }

		/// <summary>
		/// 工程Id
		/// </summary>
		public int ProjectId { get; set; }

		/// <summary>
		/// 项目编号
		/// </summary>
        public string ItemNo { get; set; }

        /// <summary>
        /// 项目名称(砖,水泥,沙等)
        /// </summary>
        public string ItemName { get; set; }

		/// <summary>
		/// 备注描述
		/// </summary>
		public string ItemDesc { get; set; }

		/// <summary>
		/// 预算金额
		/// </summary>
		public decimal? BudgetAmount { get; set; }

		/// <summary>
		/// 预算用量
		/// </summary>
		public double? BudgetDosage { get; set; }

		/// <summary>
		/// 实际金额
		/// </summary>
		public decimal? FactAmount { get; set; }

		/// <summary>
		/// 实际用量
		/// </summary>
		public double? FactDosage { get; set; }

		/// <summary>
		/// 用量单位
		/// </summary>
		public string Unit { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		public long CreateTime { get; set; }

		/// <summary>
		/// 创建用户
		/// </summary>
		public long CreateUser { get; set; }

		/// <summary>
		/// 状态(默认0)
		/// </summary>
		public sbyte State { get; set; }

		public List<ProjectItemImageInfoDto> Images { get; set; } = new List<ProjectItemImageInfoDto>();
	}
}
